package edu.hz.dao;

import edu.hz.model.entity.NewsCommentEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NewsCommentsMapper {

    @Select("select * from news_comments where news_id = #{newsId}")
    List<NewsCommentEntity> selectByNewsId(@Param("newsId") Integer newsId);

}
